package com.zodiac.app.szse.sse;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 上交所接口公共响应参数
 */
@NoArgsConstructor
@Data
public class SseCommonResponse {
    private String isPagination;
    private FieldErrors fieldErrors;
    private PageHelp pageHelp;
    private String validateCode;
    private String locale;
    private String type;
    private Errors errors;
    private String jsonCallBack;
    private List<?> actionErrors;
    private List<?> errorMessages;
    private List<?> actionMessages;

    @NoArgsConstructor
    @Data
    public static class FieldErrors {
    }

    @NoArgsConstructor
    @Data
    public static class PageHelp {
        private int pageCount;
        private int cacheSize;
        private int pageSize;
        private int total;
        private int beginPage;
        private int pageNo;
        private int endPage;
    }

    @NoArgsConstructor
    @Data
    public static class Errors {
    }
}
